/**
 * Description:
 * Class Name:InterfaceExtendsTest
 * Date:2022/1/30 14:54
 *
 * @author LTisme
 * @version JAVA17
 */
package 疯狂Java讲义.第6章_面向对象_下._6_6_接口_经Java9改进;

interface InterfaceA{
    int PROP_A = 5;
    void testA();
    default void AA(){
        System.out.println("我是AA");
    }
    static String pp(){
        return "asdad";
    }
}

interface InterfaceB{
    int PROP_B = 6;
    void testB();
}

interface InterfaceC extends InterfaceA, InterfaceB{
    int PROP_C = 7;
    void testC();
}

public class InterfaceExtendsTest {
    public static void main(String[] args) {
        System.out.println(InterfaceC.PROP_A);
        System.out.println(InterfaceC.PROP_B);
        System.out.println(InterfaceC.PROP_C);
        System.out.println(InterfaceA.pp());
    }
}
